package com.spring.demo.model;

public class UserInfo {
    private String name;
    private Integer age;
    private Integer number;

    public UserInfo(String name, Integer number, Integer age) {
        this.name = name;
        this.number = number;
        this.age = age;
    }

    public UserInfo() {}

    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public Integer getAge() {
        return age;
    }
    public void setAge(Integer age) {
        this.age = age;
    }

    public Integer getNumber() {
        return number;
    }
    public void setNumber(Integer number) {
        this.number = number;
    }

    @Override
    public String toString() {
        return "UserInfo{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", number=" + number +
                '}';
    }
}
